home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
wildcat
/
wchslinm.zip
/
QBEW.ZIP
/
QBEWCONV.DOC
next >
Wrap
Text File
|
1992-01-17
|
4KB
|
101 lines
QBEWCONV -- A 'Lean and Mean' utility to convert Qmodem's QMODEM.BEW to
a 'list' file usable by HSLINK and other external batch protocols
for batch uploading.
(c) 1992 Karl Schneider
8505 Woodwick Ct.
Tampa, FL 33615
813-884-9661 voice days & evenings
My BBS, The AGORA can be accessed at the above number ONLY from
MIDNIGHT until 0700 EASTERN TIME. 14.4 HST Modem, Wildcat 3.01P.
---------------------------------------------------------------------------
I've been working with Randy Lynch to simplify the batch upload pro-
cedure for EXTERNAL batch protocols (primarily HSLINK) in Qmodem.
Qmodem has a nice BEW (Batch Entry Window) editor for entering filenames
for upload, but it is designed for Qmodem's INTERNAL ZMODEM and YMODEM-G
batch protocols. The QMODEM.BEW list it creates (using ALT-6 and SAVED
with F10) is NOT directly readable as a @filelist file by HSLINK
(or other external procotol drivers).
This very fast little utility will convert QMODEM.BEW to any filename
you wish which can be read by HSLINK, DSZ and many other protocols.
I have worked out a procedure which works well and is very flexible..
It uses TWO different batch files...one, SH.BAT is called by Qmodem after
using the normal PageUp for uploads, and SHB.BAT which is called by a
Macro defined in Qmodem. I use F10 for the macro which matches the F10
keystroke used for Batch uploads from the BEW using Qmodem INTERNAL
batch protocols. Define the macro with ALT-J in Qmodem and have it
say this:
@shellx c:\qmodem\shb.bat
Replace the path with the path to SHB.BAT in YOUR system and/or the
batch file name you wish to use.
Don't forget to create the batch file! here's what mine for HSLINK
looks like:
REM This is SHB.BAT
@echo off
REM BATCH UPLOAD HS/LINK WITH QMODEM 4.x or 5.0
del list
qbewconv list
if errorlevel 1 goto no_files
HSLINK -Ud:\arc -P1 -E%3 -O @list
if errorlevel 1 pause
goto end
:no_files
cls
echo NO FILES IN UPLOAD BATCH LIST! USE ALT-6 & F10 TO CREATE!
pause
:end
---------------------------------------------------------------------------
Make any changes necessary; you can call the 'list' file anything you
like. Note the name in line 7 must match that in the argument to
QBEWCONV in line 5. Also change the -U parameter to tell HSLINK where
you want DOWNloads to go, and don't forget to put the correct COM port
number after -P. This batch file, as I mentioned, is called by
pressing F10 (you can of course configure any other macro key you prefer)
and if QBEWCONV finds that no LIST file has been created (meaning
QMODEM.BEW either does not exist or contains NO filenames), it exits
with ERRORLEVEL 1, allowing you to bypass the upload (which would fail
anyway).
QBEWCONV will quickly convert your QMODEM.BEW file to one usable by
HSLINK and the batch upload will go normally. The LIST file is de-
leted in the batch file before QBEWCONV runs, and if QMODEM.BEW is
missing or empty, LIST will not be re-written.
If you wish to just upload (or up/down bidirectional) just ONE file,
you can use the normal PageUP key, select the protocol, and enter
the filepath/name into the Upload Allocation Window that Qmodem pops
up. Note, however, it is PERFECTLY ACCEPTABLE to use the BEW and
Macro method for single file uploads as well as Batch uploads! If
you want to stay strictly with this method, you don't even NEED the
SH.BAT file! Anyway, here's what mine looks like:
REM This is SH.BAT
@echo off
REM UPLOAD HS/LINK WITH QMODEM 4.x or 5.0
HSLINK -Ud:\arc -P1 -E%3 -O %4
if errorlevel 1 pause
-------------------------------------------------------------------------
In this case, you enter just ONE filepath/name into the Upload Allo-
cation window from Qmodem, and the %4 is sent to HSLINK. Again, here
set the -U path as required if you plan on any BIdirectional transfers.
QBEWCONV will work with the DSZ external protocol, and others
which support the '@filelist' feature. The procedure is the same;
refer to the Documentation files for other protocols for information.
Any feedback or bug report concerning QBEWCONV will be appreciated!
If you use QBEWCONV, please register it with a small ($5 suggested)
registration to the above address. If you do this, I'll be happy to
make any reasonable modifications or changes you may want. Thanks!
-eof-